ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / TreeMap<T> Class / MaxDepth Property






In This Topic
    MaxDepth Property (TreeMap<T>)
    In This Topic
    Gets or sets the maximum number of node levels to show in the current view.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(-1)>
    Public Property MaxDepth As System.Integer
    'Usage
     
    
    Dim instance As TreeMap(Of T)
    Dim value As System.Integer
     
    instance.MaxDepth = value
     
    value = instance.MaxDepth
    [System.ComponentModel.DefaultValue(-1)]
    public System.int MaxDepth {get; set;}
    public read-write property MaxDepth: System.Integer; 
    System.ComponentModel.DefaultValueAttribute(-1)
    public function get,set MaxDepth : System.int
    [System.ComponentModel.DefaultValue(-1)]
    public: __property System.int get_MaxDepth();
    public: __property void set_MaxDepth( 
       System.int value
    );
    [System.ComponentModel.DefaultValue(-1)]
    public:
    property System.int MaxDepth {
       System.int get();
       void set (    System.int value);
    }
    Remarks
    Levels will be flattened into the current plane. If your TreeMap<T> has more levels than this, you will have to go up or down to see them.
    See Also